Prepare the code